package org.ym.demo.dao.impl;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;

public abstract class BaseDao<T,PK> {
	
	@Resource
	public SessionFactory sessionFactory;
	
	public abstract void save(T entity);

}
